﻿using System;
using System.Collections.Generic;

namespace OSC.Base
{
    public interface ICachingStrategy
    {
        IPerson GetPerson(string userId);
        IEnumerable<IPerson> FindPerson(string userId);
        string GetUserId(string[] hashedAddress);
        IEnumerable<IActivity> GetActivities(string userId, DateTime startTime);
        IEnumerable<IPerson> GetFriends(string userId);
        IPerson Logon(string userName, string password, out string connectOut);
    }
}